Recipepress\Inc\Admin\Rest\Recipes S

Total Complexity 23
Dependencies 5
Dependents 1
Total lines 317
Lines of code 148
Logical lines of code 48
Comment lines 123
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
register_routes()
S
45 1 51
create_item()
S
63 3 10
update_item()
S
63 3 10
delete_item()
S
63 3 10
get_items()
S
62 2 11
get_collection_params()
S
56 1 21
get_item()
S
63 2 10
__construct()
S
77 1 4
get_items_permissions_check()
S
82 1 3
get_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3
prepare_item_for_database()
S
82 1 3
prepare_item_for_response()
S
82 1 3